Skip to content

feat(iOS): allow hiding aspect ratio button #2185

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

Nelson-Christensen
Copy link

Description

Add a aspectRatioPickerButtonHidden option for the crop functionality that allows hiding the aspect ratio button.
This prop is passed through to the underlying TOCropViewController aspectRatioPickerButtonHidden property on iOS.

This is a non-breaking change. Tje default behavior remains unchanged when the prop is not provided or is false.

Tested

Verified on iOS in a local project that the aspect ratio button is correctly hidden when the prop is set to true.

Related Issues

Closes #2046

Screenshots

97DBE7AC-96EB-49C5-B74E-A3B41D35A383

@Nelson-Christensen Nelson-Christensen force-pushed the feature/hide-aspect-ratio-button branch from 4fc8a90 to 185081f Compare August 8, 2025 00:27
@Nelson-Christensen Nelson-Christensen force-pushed the feature/hide-aspect-ratio-button branch from 185081f to 9e66a3c Compare August 10, 2025 09:25
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

How i can disable means hide ratio 3:4 and 3:2 buttons
1 participant